<template>
	<view class="suggest-item">
		<view class="suggest-img">
			<image :src="sug.imgurl" mode="" ></image>
		</view>
		<view class="suggest-title">
			<text>{{sug.title}}</text>
		</view>
		<view class="suggest-price">
			{{sug.price}}
		</view>
	</view>
</template>

<script>
	export default {
		name:"suggestImg",
		props:['sug','index'],
		data() {
			return {
				
			};
		}
	}
</script>

<style>

	.suggest-img image{
		width: 208rpx;
		height: 208rpx;
	}
	.suggest-item{
		height: 345rpx;
		width: 220rpx;
		background-color: black;
		margin: 5rpx;
		display: flex;
		flex-direction: column;
		
	}
</style>